package com.tencent.qf.team.dal;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DmAppSalesPersonalPerformanceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DmAppSalesPersonalPerformanceExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSalesDateIsNull() {
            addCriterion("sales_date is null");
            return (Criteria) this;
        }

        public Criteria andSalesDateIsNotNull() {
            addCriterion("sales_date is not null");
            return (Criteria) this;
        }

        public Criteria andSalesDateEqualTo(String value) {
            addCriterion("sales_date =", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateNotEqualTo(String value) {
            addCriterion("sales_date <>", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateGreaterThan(String value) {
            addCriterion("sales_date >", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateGreaterThanOrEqualTo(String value) {
            addCriterion("sales_date >=", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateLessThan(String value) {
            addCriterion("sales_date <", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateLessThanOrEqualTo(String value) {
            addCriterion("sales_date <=", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateLike(String value) {
            addCriterion("sales_date like", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateNotLike(String value) {
            addCriterion("sales_date not like", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateIn(List<String> values) {
            addCriterion("sales_date in", values, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateNotIn(List<String> values) {
            addCriterion("sales_date not in", values, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateBetween(String value1, String value2) {
            addCriterion("sales_date between", value1, value2, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateNotBetween(String value1, String value2) {
            addCriterion("sales_date not between", value1, value2, "salesDate");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathIsNull() {
            addCriterion("group_id_path is null");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathIsNotNull() {
            addCriterion("group_id_path is not null");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathEqualTo(String value) {
            addCriterion("group_id_path =", value, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathNotEqualTo(String value) {
            addCriterion("group_id_path <>", value, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathGreaterThan(String value) {
            addCriterion("group_id_path >", value, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathGreaterThanOrEqualTo(String value) {
            addCriterion("group_id_path >=", value, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathLessThan(String value) {
            addCriterion("group_id_path <", value, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathLessThanOrEqualTo(String value) {
            addCriterion("group_id_path <=", value, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathLike(String value) {
            addCriterion("group_id_path like", value, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathNotLike(String value) {
            addCriterion("group_id_path not like", value, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathIn(List<String> values) {
            addCriterion("group_id_path in", values, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathNotIn(List<String> values) {
            addCriterion("group_id_path not in", values, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathBetween(String value1, String value2) {
            addCriterion("group_id_path between", value1, value2, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGroupIdPathNotBetween(String value1, String value2) {
            addCriterion("group_id_path not between", value1, value2, "groupIdPath");
            return (Criteria) this;
        }

        public Criteria andGuideUidIsNull() {
            addCriterion("guide_uid is null");
            return (Criteria) this;
        }

        public Criteria andGuideUidIsNotNull() {
            addCriterion("guide_uid is not null");
            return (Criteria) this;
        }

        public Criteria andGuideUidEqualTo(String value) {
            addCriterion("guide_uid =", value, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidNotEqualTo(String value) {
            addCriterion("guide_uid <>", value, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidGreaterThan(String value) {
            addCriterion("guide_uid >", value, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidGreaterThanOrEqualTo(String value) {
            addCriterion("guide_uid >=", value, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidLessThan(String value) {
            addCriterion("guide_uid <", value, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidLessThanOrEqualTo(String value) {
            addCriterion("guide_uid <=", value, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidLike(String value) {
            addCriterion("guide_uid like", value, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidNotLike(String value) {
            addCriterion("guide_uid not like", value, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidIn(List<String> values) {
            addCriterion("guide_uid in", values, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidNotIn(List<String> values) {
            addCriterion("guide_uid not in", values, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidBetween(String value1, String value2) {
            addCriterion("guide_uid between", value1, value2, "guideUid");
            return (Criteria) this;
        }

        public Criteria andGuideUidNotBetween(String value1, String value2) {
            addCriterion("guide_uid not between", value1, value2, "guideUid");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("`uid` is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("`uid` is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(String value) {
            addCriterion("`uid` =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(String value) {
            addCriterion("`uid` <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(String value) {
            addCriterion("`uid` >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(String value) {
            addCriterion("`uid` >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(String value) {
            addCriterion("`uid` <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(String value) {
            addCriterion("`uid` <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLike(String value) {
            addCriterion("`uid` like", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotLike(String value) {
            addCriterion("`uid` not like", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<String> values) {
            addCriterion("`uid` in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<String> values) {
            addCriterion("`uid` not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(String value1, String value2) {
            addCriterion("`uid` between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(String value1, String value2) {
            addCriterion("`uid` not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumIsNull() {
            addCriterion("sales_order_num is null");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumIsNotNull() {
            addCriterion("sales_order_num is not null");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumEqualTo(Integer value) {
            addCriterion("sales_order_num =", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumNotEqualTo(Integer value) {
            addCriterion("sales_order_num <>", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumGreaterThan(Integer value) {
            addCriterion("sales_order_num >", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("sales_order_num >=", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumLessThan(Integer value) {
            addCriterion("sales_order_num <", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumLessThanOrEqualTo(Integer value) {
            addCriterion("sales_order_num <=", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumIn(List<Integer> values) {
            addCriterion("sales_order_num in", values, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumNotIn(List<Integer> values) {
            addCriterion("sales_order_num not in", values, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumBetween(Integer value1, Integer value2) {
            addCriterion("sales_order_num between", value1, value2, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumNotBetween(Integer value1, Integer value2) {
            addCriterion("sales_order_num not between", value1, value2, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesAmtIsNull() {
            addCriterion("sales_amt is null");
            return (Criteria) this;
        }

        public Criteria andSalesAmtIsNotNull() {
            addCriterion("sales_amt is not null");
            return (Criteria) this;
        }

        public Criteria andSalesAmtEqualTo(Double value) {
            addCriterion("sales_amt =", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtNotEqualTo(Double value) {
            addCriterion("sales_amt <>", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtGreaterThan(Double value) {
            addCriterion("sales_amt >", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_amt >=", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtLessThan(Double value) {
            addCriterion("sales_amt <", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtLessThanOrEqualTo(Double value) {
            addCriterion("sales_amt <=", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtIn(List<Double> values) {
            addCriterion("sales_amt in", values, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtNotIn(List<Double> values) {
            addCriterion("sales_amt not in", values, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtBetween(Double value1, Double value2) {
            addCriterion("sales_amt between", value1, value2, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtNotBetween(Double value1, Double value2) {
            addCriterion("sales_amt not between", value1, value2, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAtvIsNull() {
            addCriterion("sales_atv is null");
            return (Criteria) this;
        }

        public Criteria andSalesAtvIsNotNull() {
            addCriterion("sales_atv is not null");
            return (Criteria) this;
        }

        public Criteria andSalesAtvEqualTo(Double value) {
            addCriterion("sales_atv =", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvNotEqualTo(Double value) {
            addCriterion("sales_atv <>", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvGreaterThan(Double value) {
            addCriterion("sales_atv >", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_atv >=", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvLessThan(Double value) {
            addCriterion("sales_atv <", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvLessThanOrEqualTo(Double value) {
            addCriterion("sales_atv <=", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvIn(List<Double> values) {
            addCriterion("sales_atv in", values, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvNotIn(List<Double> values) {
            addCriterion("sales_atv not in", values, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvBetween(Double value1, Double value2) {
            addCriterion("sales_atv between", value1, value2, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvNotBetween(Double value1, Double value2) {
            addCriterion("sales_atv not between", value1, value2, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumIsNull() {
            addCriterion("sales_user_num is null");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumIsNotNull() {
            addCriterion("sales_user_num is not null");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumEqualTo(Integer value) {
            addCriterion("sales_user_num =", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumNotEqualTo(Integer value) {
            addCriterion("sales_user_num <>", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumGreaterThan(Integer value) {
            addCriterion("sales_user_num >", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("sales_user_num >=", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumLessThan(Integer value) {
            addCriterion("sales_user_num <", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumLessThanOrEqualTo(Integer value) {
            addCriterion("sales_user_num <=", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumIn(List<Integer> values) {
            addCriterion("sales_user_num in", values, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumNotIn(List<Integer> values) {
            addCriterion("sales_user_num not in", values, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumBetween(Integer value1, Integer value2) {
            addCriterion("sales_user_num between", value1, value2, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumNotBetween(Integer value1, Integer value2) {
            addCriterion("sales_user_num not between", value1, value2, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtIsNull() {
            addCriterion("sales_income_amt is null");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtIsNotNull() {
            addCriterion("sales_income_amt is not null");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtEqualTo(Double value) {
            addCriterion("sales_income_amt =", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtNotEqualTo(Double value) {
            addCriterion("sales_income_amt <>", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtGreaterThan(Double value) {
            addCriterion("sales_income_amt >", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_income_amt >=", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtLessThan(Double value) {
            addCriterion("sales_income_amt <", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtLessThanOrEqualTo(Double value) {
            addCriterion("sales_income_amt <=", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtIn(List<Double> values) {
            addCriterion("sales_income_amt in", values, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtNotIn(List<Double> values) {
            addCriterion("sales_income_amt not in", values, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtBetween(Double value1, Double value2) {
            addCriterion("sales_income_amt between", value1, value2, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtNotBetween(Double value1, Double value2) {
            addCriterion("sales_income_amt not between", value1, value2, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtIsNull() {
            addCriterion("sales_self_income_amt is null");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtIsNotNull() {
            addCriterion("sales_self_income_amt is not null");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtEqualTo(Double value) {
            addCriterion("sales_self_income_amt =", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtNotEqualTo(Double value) {
            addCriterion("sales_self_income_amt <>", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtGreaterThan(Double value) {
            addCriterion("sales_self_income_amt >", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_self_income_amt >=", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtLessThan(Double value) {
            addCriterion("sales_self_income_amt <", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtLessThanOrEqualTo(Double value) {
            addCriterion("sales_self_income_amt <=", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtIn(List<Double> values) {
            addCriterion("sales_self_income_amt in", values, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtNotIn(List<Double> values) {
            addCriterion("sales_self_income_amt not in", values, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtBetween(Double value1, Double value2) {
            addCriterion("sales_self_income_amt between", value1, value2, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtNotBetween(Double value1, Double value2) {
            addCriterion("sales_self_income_amt not between", value1, value2, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtIsNull() {
            addCriterion("sales_promote_income_amt is null");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtIsNotNull() {
            addCriterion("sales_promote_income_amt is not null");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtEqualTo(Double value) {
            addCriterion("sales_promote_income_amt =", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtNotEqualTo(Double value) {
            addCriterion("sales_promote_income_amt <>", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtGreaterThan(Double value) {
            addCriterion("sales_promote_income_amt >", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_promote_income_amt >=", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtLessThan(Double value) {
            addCriterion("sales_promote_income_amt <", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtLessThanOrEqualTo(Double value) {
            addCriterion("sales_promote_income_amt <=", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtIn(List<Double> values) {
            addCriterion("sales_promote_income_amt in", values, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtNotIn(List<Double> values) {
            addCriterion("sales_promote_income_amt not in", values, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtBetween(Double value1, Double value2) {
            addCriterion("sales_promote_income_amt between", value1, value2, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtNotBetween(Double value1, Double value2) {
            addCriterion("sales_promote_income_amt not between", value1, value2, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    /**
     *
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}